Skip to main content
Version: 8.4.10.4

OptionPrintSetSummary

V8 Message Definiton

OptionPrintSetSummary records are created at the end of each trading period and contain a summary of the activity for the period; Summary of OptionPrintSet records

METADATA

AttributeValue
Topic2750-market-data-options
MLink TokenSRMLinkAnalytics
ProductSRAnalytics
accessTypeSELECT

Table Definition

FieldTypeKeyDefault ValueComment
okey_atenum - AssetTypePRI'None'
okey_tsenum - TickerSrcPRI'None'
okey_tkVARCHAR(12)PRI''
okey_yrSMALLINT UNSIGNEDPRI0
okey_mnTINYINT UNSIGNEDPRI0
okey_dyTINYINT UNSIGNEDPRI0
okey_xxDOUBLEPRI0
okey_cpenum - CallPutPRI'Call'
prtExchenum - OptExchPRI'None'
prtSideenum - BuySellPRI'None'
prtTypeenum - PrtTypePRI'None'
tradingPeriodDATEPRI'1900-01-01'
numPrintsINT0
sumPrintSizeINT0
sumExchQuoteSizeINT0exch quote size at the time of print
sumPrintM1PnLFLOAT0
sumPrintM10PnLFLOAT0
avgVolFLOAT0
avgVegaFLOAT0
avgDeltaFLOAT0
avgPrintProbFLOAT0
sumSurfaceEdgeFLOAT0

PRIMARY KEY DEFINITION (Unique)

FieldSequence
okey_tk1
okey_yr2
okey_mn3
okey_dy4
okey_xx5
okey_cp6
okey_at7
okey_ts8
prtExch9
prtSide10
prtType11
tradingPeriod12

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRAnalytics`.`MsgOptionPrintSetSummary` (
`okey_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None',
`okey_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None',
`okey_tk` VARCHAR(12) NOT NULL DEFAULT '',
`okey_yr` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
`okey_mn` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`okey_dy` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`okey_xx` DOUBLE NOT NULL DEFAULT 0,
`okey_cp` ENUM('Call','Put','Pair') NOT NULL DEFAULT 'Call',
`prtExch` ENUM('None','AMEX','BOX','CBOE','ISE','NYSE','PHLX','NSDQ','BATS','C2','NQBX','MIAX','GMNI','CME','CBOT','NYMEX','COMEX','ICE','EDGO','MCRY','MPRL','SDRK','DQTE','EMLD','CFE','MEMX','SPHR','EUREX','CEDX','NXAM','NXBR','NXLS','NXML','NXOS','NXP','ICEFE') NOT NULL DEFAULT 'None',
`prtSide` ENUM('None','Buy','Sell') NOT NULL DEFAULT 'None',
`prtType` ENUM('None','CANC','OSEQ','CNCL','LATE','CNCO','OPEN','CNOL','OPNL','AUTO','REOP','ISOI','SLAN','SLAI','SLCN','SCLI','SLFT','MLET','MLAT','MLCT','MLFT','MESL','TLAT','MASL','MFSL','TLET','TLCT','TLFT','TESL','TASL','TFSL','CBMO','MCTP','EXHT') NOT NULL DEFAULT 'None',
`tradingPeriod` DATE NOT NULL DEFAULT '1900-01-01',
`numPrints` INT NOT NULL DEFAULT 0,
`sumPrintSize` INT NOT NULL DEFAULT 0,
`sumExchQuoteSize` INT NOT NULL DEFAULT 0 COMMENT 'exch quote size at the time of print',
`sumPrintM1PnL` FLOAT NOT NULL DEFAULT 0,
`sumPrintM10PnL` FLOAT NOT NULL DEFAULT 0,
`avgVol` FLOAT NOT NULL DEFAULT 0,
`avgVega` FLOAT NOT NULL DEFAULT 0,
`avgDelta` FLOAT NOT NULL DEFAULT 0,
`avgPrintProb` FLOAT NOT NULL DEFAULT 0,
`sumSurfaceEdge` FLOAT NOT NULL DEFAULT 0,
PRIMARY KEY USING HASH (`okey_tk`,`okey_yr`,`okey_mn`,`okey_dy`,`okey_xx`,`okey_cp`,`okey_at`,`okey_ts`,`prtExch`,`prtSide`,`prtType`,`tradingPeriod`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='OptionPrintSetSummary records are created at the end of each trading period and contain a summary of the activity for the period; Summary of OptionPrintSet records';

SELECT TABLE EXAMPLE QUERY

SELECT
`okey_at`,
`okey_ts`,
`okey_tk`,
`okey_yr`,
`okey_mn`,
`okey_dy`,
`okey_xx`,
`okey_cp`,
`prtExch`,
`prtSide`,
`prtType`,
`tradingPeriod`,
`numPrints`,
`sumPrintSize`,
`sumExchQuoteSize`,
`sumPrintM1PnL`,
`sumPrintM10PnL`,
`avgVol`,
`avgVega`,
`avgDelta`,
`avgPrintProb`,
`sumSurfaceEdge`
FROM `SRAnalytics`.`MsgOptionPrintSetSummary`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`okey_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`okey_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`okey_tk` = 'Example_okey_tk'
AND
/* Replace with a SMALLINT UNSIGNED */
`okey_yr` = 123
AND
/* Replace with a TINYINT UNSIGNED */
`okey_mn` = 1
AND
/* Replace with a TINYINT UNSIGNED */
`okey_dy` = 1
AND
/* Replace with a DOUBLE */
`okey_xx` = 4.56
AND
/* Replace with a ENUM('Call','Put','Pair') */
`okey_cp` = 'Call'
AND
/* Replace with a ENUM('None','AMEX','BOX','CBOE','ISE','NYSE','PHLX','NSDQ','BATS','C2','NQBX','MIAX','GMNI','CME','CBOT','NYMEX','COMEX','ICE','EDGO','MCRY','MPRL','SDRK','DQTE','EMLD','CFE','MEMX','SPHR','EUREX','CEDX','NXAM','NXBR','NXLS','NXML','NXOS','NXP','ICEFE') */
`prtExch` = 'None'
AND
/* Replace with a ENUM('None','Buy','Sell') */
`prtSide` = 'None'
AND
/* Replace with a ENUM('None','CANC','OSEQ','CNCL','LATE','CNCO','OPEN','CNOL','OPNL','AUTO','REOP','ISOI','SLAN','SLAI','SLCN','SCLI','SLFT','MLET','MLAT','MLCT','MLFT','MESL','TLAT','MASL','MFSL','TLET','TLCT','TLFT','TESL','TASL','TFSL','CBMO','MCTP','EXHT') */
`prtType` = 'None'
AND
/* Replace with a DATE */
`tradingPeriod` = '2022-01-01';

Doc Columns Query

SELECT * FROM SRAnalytics.doccolumns WHERE TABLE_NAME='OptionPrintSetSummary' ORDER BY ordinal_position ASC;